//
//  ModifyPhoneNumRequest.m
//  EasyToo
//
//  Created by YuanDee on 13-8-25.
//
//  修改手机号码

#import "ModifyPhoneNumRequest.h"

@implementation ModifyPhoneNumRequest
-(id)initWithTelephone:(NSString*)telephone
                CardId:(NSString*)cardId
              Delegate:(id<ServerCommunicationDelegate>)delegate;
{
    self = [super init];
    if(self)
    {
        self.telephone = telephone;
        self.cardId = cardId;
        self.delegate = delegate;
        
        [self.bodyJsonDict setObject:self.telephone forKey:@"telephone"];
        [self.bodyJsonDict setObject:self.cardId forKey:@"cardId"];
        [self.headerJsonDict setObject:@"016014" forKey:@"TranCode"];
        
        [self buildJsonRequest];
    }
    return self;
}

-(void)dealloc
{
    self.telephone = nil;
    self.cardId = nil;
    [super dealloc];
}
@end
